package com.ltt.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.ltt.dao.pojo.Group;

import java.util.List;

@Mapper
public interface GroupMapper {
    List<String> findAllGroupById(String openId);

    int exitGroup(String groupId, String openId);

    Group findGroupById(String groupId);

    int updateGroupItem(Group group);

    List<Group> findAllGroup();

    int addGroup(int groupId, String openId, int isA);

    int findGroup(String groupId, String openId);

    int groupIdFindAdd(String groupId, String openId);

    List<Group> findByName(String groupName);

    int findIsA(String groupId, String openId);

    int insertGroup(Group group);

    int findMax();
}
